package com.zxx.domain;

import lombok.AllArgsConstructor;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Table(name = "goods",catalog = "springcloud")
public class Goods {

    @Id
    @Column(name = "id")
    private Integer id;
    private String title;//商品标题
    private Double price;//商品价格
    private Integer count;//商品库存
}
